package com.tarena.lbs.basic.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.lbs.pojo.basic.dos.BusinessDO;
import com.tarena.lbs.pojo.basic.po.BusinessPO;
import com.tarena.lbs.pojo.basic.query.BusinessQuery;

import java.util.List;

public interface BusinessMapper extends BaseMapper<BusinessPO> {
    List<BusinessDO> selectBusinessByQuery(BusinessQuery businessQuery);

    void insert(BusinessDO businessDO);

    long selectCountById(Integer businessId);
}
